/*
批量添加附件
2012-10-16
*/

function addFj(tdId, fileName) {
	var td = document.getElementById(tdId);	
	var br = document.createElement("br");
	var input = document.createElement("input");
	var button = document.createElement("input");			
	input.type = "file";
	input.name = fileName;
	input.size = "40";
	button.type = "button";
	button.value = "删除";	
	button.onclick = function(){
		td.removeChild(br);
		td.removeChild(input);
		td.removeChild(button);
	}			
	td.appendChild(br);
	td.appendChild(input);
	td.appendChild(button);
}